185 research outputs found

    Exact quantum query complexity of EXACTk,ln\rm{EXACT}_{k,l}^n

    Full text link
    In the exact quantum query model a successful algorithm must always output the correct function value. We investigate the function that is true if exactly kk or ll of the nn input bits given by an oracle are 1. We find an optimal algorithm (for some cases), and a nontrivial general lower and upper bound on the minimum number of queries to the black box.Comment: 19 pages, fixed some typos and constraint

    Elements of Design for Containers and Solutions in the LinBox Library

    Get PDF
    We describe in this paper new design techniques used in the \cpp exact linear algebra library \linbox, intended to make the library safer and easier to use, while keeping it generic and efficient. First, we review the new simplified structure for containers, based on our \emph{founding scope allocation} model. We explain design choices and their impact on coding: unification of our matrix classes, clearer model for matrices and submatrices, \etc Then we present a variation of the \emph{strategy} design pattern that is comprised of a controller--plugin system: the controller (solution) chooses among plug-ins (algorithms) that always call back the controllers for subtasks. We give examples using the solution \mul. Finally we present a benchmark architecture that serves two purposes: Providing the user with easier ways to produce graphs; Creating a framework for automatically tuning the library and supporting regression testing.Comment: 8 pages, 4th International Congress on Mathematical Software, Seoul : Korea, Republic Of (2014

    Improved bounds for reduction to depth 4 and depth 3

    Full text link
    Koiran showed that if a nn-variate polynomial of degree dd (with d=nO(1)d=n^{O(1)}) is computed by a circuit of size ss, then it is also computed by a homogeneous circuit of depth four and of size 2O(dlog(d)log(s))2^{O(\sqrt{d}\log(d)\log(s))}. Using this result, Gupta, Kamath, Kayal and Saptharishi gave a exp(O(dlog(d)log(n)log(s)))\exp(O(\sqrt{d\log(d)\log(n)\log(s)})) upper bound for the size of the smallest depth three circuit computing a nn-variate polynomial of degree d=nO(1)d=n^{O(1)} given by a circuit of size ss. We improve here Koiran's bound. Indeed, we show that if we reduce an arithmetic circuit to depth four, then the size becomes exp(O(dlog(ds)log(n)))\exp(O(\sqrt{d\log(ds)\log(n)})). Mimicking Gupta, Kamath, Kayal and Saptharishi's proof, it also implies the same upper bound for depth three circuits. This new bound is not far from optimal in the sense that Gupta, Kamath, Kayal and Saptharishi also showed a 2Ω(d)2^{\Omega(\sqrt{d})} lower bound for the size of homogeneous depth four circuits such that gates at the bottom have fan-in at most d\sqrt{d}. Finally, we show that this last lower bound also holds if the fan-in is at least d\sqrt{d}

    Fast Computation of Shifted Popov Forms of Polynomial Matrices via Systems of Modular Polynomial Equations

    Get PDF
    We give a Las Vegas algorithm which computes the shifted Popov form of an m×mm \times m nonsingular polynomial matrix of degree dd in expected O~(mωd)\widetilde{\mathcal{O}}(m^\omega d) field operations, where ω\omega is the exponent of matrix multiplication and O~()\widetilde{\mathcal{O}}(\cdot) indicates that logarithmic factors are omitted. This is the first algorithm in O~(mωd)\widetilde{\mathcal{O}}(m^\omega d) for shifted row reduction with arbitrary shifts. Using partial linearization, we reduce the problem to the case dσ/md \le \lceil \sigma/m \rceil where σ\sigma is the generic determinant bound, with σ/m\sigma / m bounded from above by both the average row degree and the average column degree of the matrix. The cost above becomes O~(mωσ/m)\widetilde{\mathcal{O}}(m^\omega \lceil \sigma/m \rceil), improving upon the cost of the fastest previously known algorithm for row reduction, which is deterministic. Our algorithm first builds a system of modular equations whose solution set is the row space of the input matrix, and then finds the basis in shifted Popov form of this set. We give a deterministic algorithm for this second step supporting arbitrary moduli in O~(mω1σ)\widetilde{\mathcal{O}}(m^{\omega-1} \sigma) field operations, where mm is the number of unknowns and σ\sigma is the sum of the degrees of the moduli. This extends previous results with the same cost bound in the specific cases of order basis computation and M-Pad\'e approximation, in which the moduli are products of known linear factors.Comment: 8 pages, sig-alternate class, 5 figures (problems and algorithms

    Formation of molecular oxygen in ultracold O + OH reaction

    Full text link
    We discuss the formation of molecular oxygen in ultracold collisions between hydroxyl radicals and atomic oxygen. A time-independent quantum formalism based on hyperspherical coordinates is employed for the calculations. Elastic, inelastic and reactive cross sections as well as the vibrational and rotational populations of the product O2 molecules are reported. A J-shifting approximation is used to compute the rate coefficients. At temperatures T = 10 - 100 mK for which the OH molecules have been cooled and trapped experimentally, the elastic and reactive rate coefficients are of comparable magnitude, while at colder temperatures, T < 1 mK, the formation of molecular oxygen becomes the dominant pathway. The validity of a classical capture model to describe cold collisions of OH and O is also discussed. While very good agreement is found between classical and quantum results at T=0.3 K, at higher temperatures, the quantum calculations predict a larger rate coefficient than the classical model, in agreement with experimental data for the O + OH reaction. The zero-temperature limiting value of the rate coefficient is predicted to be about 6.10^{-12} cm^3 molecule^{-1} s^{-1}, a value comparable to that of barrierless alkali-metal atom - dimer systems and about a factor of five larger than that of the tunneling dominated F + H2 reaction.Comment: 9 pages, 8 figure

    On the expressive power of read-once determinants

    Full text link
    We introduce and study the notion of read-kk projections of the determinant: a polynomial fF[x1,,xn]f \in \mathbb{F}[x_1, \ldots, x_n] is called a {\it read-kk projection of determinant} if f=det(M)f=det(M), where entries of matrix MM are either field elements or variables such that each variable appears at most kk times in MM. A monomial set SS is said to be expressible as read-kk projection of determinant if there is a read-kk projection of determinant ff such that the monomial set of ff is equal to SS. We obtain basic results relating read-kk determinantal projections to the well-studied notion of determinantal complexity. We show that for sufficiently large nn, the n×nn \times n permanent polynomial PermnPerm_n and the elementary symmetric polynomials of degree dd on nn variables SndS_n^d for 2dn22 \leq d \leq n-2 are not expressible as read-once projection of determinant, whereas mon(Permn)mon(Perm_n) and mon(Snd)mon(S_n^d) are expressible as read-once projections of determinant. We also give examples of monomial sets which are not expressible as read-once projections of determinant

    A one-dimensional Vlasov-Maxwell equilibrium for the force-free Harris sheet

    Full text link
    In this paper the first non-linear force-free Vlasov-Maxwell equilibrium is presented. One component of the equilibrium magnetic field has the same spatial structure as the Harris sheet, but whereas the Harris sheet is kept in force balance by pressure gradients, in the force-free solution presented here force balance is maintained by magnetic shear. Magnetic pressure, plasma pressure and plasma density are constant. The method used to find the equilibrium is based on the analogy of the one-dimensional Vlasov-Maxwell equilibrium problem to the motion of a pseudo-particle in a two-dimensional conservative potential. This potential is equivalent to one of the diagonal components of the plasma pressure tensor. After finding the appropriate functional form for this pressure tensor component, the corresponding distribution functions can be found using a Fourier transform method. The force-free solution can be generalized to a complete family of equilibria that describe the transition between the purely pressure-balanced Harris sheet to the force-free Harris sheet.Comment: 10 pages, 2 figures, submitted to PRL, revised versio

    On Tractable Exponential Sums

    Full text link
    We consider the problem of evaluating certain exponential sums. These sums take the form x1,...,xnZNef(x1,...,xn)2πi/N\sum_{x_1,...,x_n \in Z_N} e^{f(x_1,...,x_n) {2 \pi i / N}} , where each x_i is summed over a ring Z_N, and f(x_1,...,x_n) is a multivariate polynomial with integer coefficients. We show that the sum can be evaluated in polynomial time in n and log N when f is a quadratic polynomial. This is true even when the factorization of N is unknown. Previously, this was known for a prime modulus N. On the other hand, for very specific families of polynomials of degree \ge 3, we show the problem is #P-hard, even for any fixed prime or prime power modulus. This leads to a complexity dichotomy theorem - a complete classification of each problem to be either computable in polynomial time or #P-hard - for a class of exponential sums. These sums arise in the classifications of graph homomorphisms and some other counting CSP type problems, and these results lead to complexity dichotomy theorems. For the polynomial-time algorithm, Gauss sums form the basic building blocks. For the hardness results, we prove group-theoretic necessary conditions for tractability. These tests imply that the problem is #P-hard for even very restricted families of simple cubic polynomials over fixed modulus N

    Computing Hilbert Class Polynomials

    Get PDF
    We present and analyze two algorithms for computing the Hilbert class polynomial HDH_D . The first is a p-adic lifting algorithm for inert primes p in the order of discriminant D < 0. The second is an improved Chinese remainder algorithm which uses the class group action on CM-curves over finite fields. Our run time analysis gives tighter bounds for the complexity of all known algorithms for computing HDH_D, and we show that all methods have comparable run times

    Algorithms for zero-dimensional ideals using linear recurrent sequences

    Get PDF
    Inspired by Faug\`ere and Mou's sparse FGLM algorithm, we show how using linear recurrent multi-dimensional sequences can allow one to perform operations such as the primary decomposition of an ideal, by computing the annihilator of one or several such sequences.Comment: LNCS, Computer Algebra in Scientific Computing CASC 201
    corecore